package cn.yuanqiao.archive.detection.mapper;

import cn.yuanqiao.archive.detection.domain.DetailLogs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 检测详情Mapper接口
 * 
 * @author xy
 * @date 2023-08-10
 */
@Mapper
public interface DetailLogsMapper 
{
    /**
     * 查询检测详情
     * 
     * @param checkType 检测详情主键
     * @return 检测详情
     */
    public DetailLogs selectDetailLogsById(Long id);

    /**
     * 查询检测详情列表
     * 
     * @param detailLogs 检测详情
     * @return 检测详情集合
     */
    public List<DetailLogs> selectDetailLogsList(DetailLogs detailLogs);

    /**
     * 新增检测详情
     * 
     * @param detailLogs 检测详情
     * @return 结果
     */
    public int insertDetailLogs(DetailLogs detailLogs);

    /**
     * 修改检测详情
     * 
     * @param detailLogs 检测详情
     * @return 结果
     */
    public int updateDetailLogs(DetailLogs detailLogs);

    /**
     * 删除检测详情
     * 
     * @param checkType 检测详情主键
     * @return 结果
     */
    public int deleteDetailLogsById(Long id);

    /**
     * 批量删除检测详情
     * 
     * @param checkTypes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDetailLogsByIds(Long[] ids);

    void inserDetailLogsList(@Param("detailLogsList") List<DetailLogs> detailLogsList, @Param("tableName") String tableName);
}
